﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Linq;
using System.Data;
using Gem_Tools_Utility;

namespace Gem_Tools_Entity.Gem_Tools
{
    public class CProject
    {
        private int m_intAuto_ID;
        private int m_intis_Active;
        private int m_intis_Start;
        private int m_intis_Close; 
        private string m_strName;
        private DateTime m_dtmStart_Date;
        private DateTime m_dtmEnd_Date;
        private int m_intManday;
        private int m_intClient_ID;
        private string m_strNote;
        private DateTime m_dtmCreated;
        private string m_strCreated_By;
        private int m_intDeleted;
        private DateTime m_dtmLast_Updated;
        private string m_strLast_Updated_By;
        public CProject()
        {
            ResetData();
        }

        public void ResetData()
        {
            m_intAuto_ID = CConst.INT_VALUE_NULL;
            m_intis_Active = CConst.INT_VALUE_NULL;
            m_intis_Start = CConst.INT_VALUE_NULL;
            m_intis_Close = CConst.INT_VALUE_NULL; 
            m_strName = CConst.STR_VALUE_NULL;
            m_dtmStart_Date = CConst.DTM_VALUE_NULL;
            m_dtmEnd_Date = CConst.DTM_VALUE_NULL;
            m_intManday = CConst.INT_VALUE_NULL;
            m_intClient_ID = CConst.INT_VALUE_NULL;
            m_strNote = CConst.STR_VALUE_NULL;
            m_dtmCreated = CConst.DTM_VALUE_NULL;
            m_strCreated_By = CConst.STR_VALUE_NULL;
            m_intDeleted = CConst.INT_VALUE_NULL;
            m_dtmLast_Updated = CConst.DTM_VALUE_NULL;
            m_strLast_Updated_By = CConst.STR_VALUE_NULL;
        }


        public int Auto_ID
        {
            get
            {
                return m_intAuto_ID;
            }
            set
            {
                m_intAuto_ID = value;
            }
        }

        public int is_Active
        {
            get
            {
                return m_intis_Active;
            }
            set
            {
                m_intis_Active = value;
            }
        }


        public int is_Start
        {
            get
            {
                return m_intis_Start;
            }
            set
            {
                m_intis_Start = value;
            }
        }


        public int is_Close
        {
            get
            {
                return m_intis_Close;
            }
            set
            {
                m_intis_Close = value;
            }
        } 

        public string Name
        {
            get
            {
                return m_strName;
            }
            set
            {
                m_strName = value.Trim();
            }
        }


        public DateTime Start_Date
        {
            get
            {
                return m_dtmStart_Date;
            }
            set
            {
                m_dtmStart_Date = value;
            }
        }


        public DateTime End_Date
        {
            get
            {
                return m_dtmEnd_Date;
            }
            set
            {
                m_dtmEnd_Date = value;
            }
        }


        public int Manday
        {
            get
            {
                return m_intManday;
            }
            set
            {
                m_intManday = value;
            }
        }


        public int Client_ID
        {
            get
            {
                return m_intClient_ID;
            }
            set
            {
                m_intClient_ID = value;
            }
        }


        public string Note
        {
            get
            {
                return m_strNote;
            }
            set
            {
                m_strNote = value.Trim();
            }
        }


        public DateTime Created
        {
            get
            {
                return m_dtmCreated;
            }
            set
            {
                m_dtmCreated = value;
            }
        }


        public string Created_By
        {
            get
            {
                return m_strCreated_By;
            }
            set
            {
                m_strCreated_By = value.Trim();
            }
        }


        public int Deleted
        {
            get
            {
                return m_intDeleted;
            }
            set
            {
                m_intDeleted = value;
            }
        }


        public DateTime Last_Updated
        {
            get
            {
                return m_dtmLast_Updated;
            }
            set
            {
                m_dtmLast_Updated = value;
            }
        }


        public string Last_Updated_By
        {
            get
            {
                return m_strLast_Updated_By;
            }
            set
            {
                m_strLast_Updated_By = value.Trim();
            }
        }
    }
}
